<!DOCTYPE html>

<head>
  <meta charset="utf-8">
  <title>rustup.rs - The Rust toolchain installer</title>
  <meta name="keywords" content="Rust, Rust programming language, rustlang, rust-lang, Mozilla Rust, rustup">
  <meta name="description" content="The Rust toolchain installer">

  <link rel="stylesheet" href="normalize.css">
  <link rel="stylesheet" href="rustup.css">

</head>

<body id="idx">

<a id="platform-button" style="display: none;" href="#">
  click or press "n" to cycle platforms
</a>

<p id="pitch">
  <em>rustup</em> is an installer for<br/>
  the systems programming language
  <a href="https://www.rust-lang.org">Rust</a>
</p>

<div id="platform-instructions-unix" class="instructions" style="display: none;">
  <p>Run the following in your terminal, then follow the onscreen instructions.</p>
  <pre>curl https://sh.rustup.rs -sSf | sh</pre>
  <p class="other-platforms-help">You appear to be running Unix. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
</div>

<div id="platform-instructions-win32" class="instructions" style="display: none;">
  <p>
    To install Rust, download and run
    <a class="windows-download" href="https://win.rustup.rs/i686">rustup&#x2011;init.exe</a>
    then follow the onscreen instructions.
  </p>
  <p>If you're a Windows Subsystem for Linux user run the following in your terminal, then follow the onscreen instructions to install Rust.</p>
  <pre>curl https://sh.rustup.rs -sSf | sh</pre>
  <p class="other-platforms-help">You appear to be running Windows 32-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
</div>

<div id="platform-instructions-win64" class="instructions" style="display: none;">
  <p>
    To install Rust, download and run
    <a class="windows-download" href="https://win.rustup.rs/x86_64">rustup&#x2011;init.exe</a>
    then follow the onscreen instructions.
  </p>
  <p>If you're a Windows Subsystem for Linux user run the following in your terminal, then follow the onscreen instructions to install Rust.</p>
  <pre>curl https://sh.rustup.rs -sSf | sh</pre>
  <p class="other-platforms-help">You appear to be running Windows 64-bit. If not, <a class="default-platform-button" href="#">display all supported installers</a>.</p>
</div>

<div id="platform-instructions-unknown" class="instructions" style="display: none;">
  <!-- unrecognized platform: ask for help -->
  <p>I don't recognize your platform.</p>
  <p>
    rustup runs on Windows, Linux, Mac OS X, FreeBSD and NetBSD. If
    you are on one of these platforms and are seeing this then please
    <a href="https://github.com/rust-lang-nursery/rustup.rs/issues/new">report an issue</a>,
    along with the following values:
  </p>

  <div>
    <div>navigator.platform:</div>
    <div id="nav-plat"></div>
    <div>navigator.appVersion:</div>
    <div id="nav-app"></div>
  </div>

  <!-- duplicate the default cross-platform instructions -->
  <div>
    <p>If you are running Unix,<br/>run the following in your terminal, then follow the onscreen instructions.</p>
    <pre>curl https://sh.rustup.rs -sSf | sh</pre>
  </div>

  <hr/>

  <div>
    <p>
      If you are running Windows 64-bit,<br/>download and run
      <a class="windows-download" href="https://win.rustup.rs/x86_64">rustup&#x2011;init.exe</a>
      then follow the onscreen instructions.
    </p>
  </div>

  <hr/>

  <div>
    <p>
      If you are running Windows 32-bit,<br/>download and run
      <a class="windows-download" href="https://win.rustup.rs/i686">rustup&#x2011;init.exe</a>
      then follow the onscreen instructions.
    </p>
  </div>

</div>

<div id="platform-instructions-default" class="instructions">
  <div>
    <p>To install Rust, if you are running Unix,<br/>run the following
    in your terminal, then follow the onscreen instructions.</p>
    <pre>curl https://sh.rustup.rs -sSf | sh</pre>
  </div>

  <hr/>

  <div>
    <p>
      If you are running Windows 64-bit,<br/>download and run
      <a class="windows-download" href="https://win.rustup.rs/x86_64">rustup&#x2011;init.exe</a>
      then follow the onscreen instructions.
    </p>
  </div>

  <hr/>

  <div>
    <p>
      If you are running Windows 32-bit,<br/>download and run
      <a class="windows-download" href="https://win.rustup.rs/i686">rustup&#x2011;init.exe</a>
      then follow the onscreen instructions.
    </p>
  </div>
</div>

<p>
  Need help? <a href="https://client00.chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-beginners">Ask on #rust-beginners</a>.
</p>

<p id="about">
  <img src="https://www.rust-lang.org/logos/rust-logo-blk.svg" alt="" />
  rustup is an official Rust project.
  <br/>
  <a href="https://github.com/rust-lang-nursery/rustup.rs/#other-installation-methods">other installation options</a>
  &nbsp;&middot;&nbsp;
  <a href="https://github.com/rust-lang-nursery/rustup.rs">about rustup</a>
</p>

<script type="text/javascript" src="rustup.js"></script>
